package com.encryption.model;

import java.util.List;

public class FilePermissionConf {
	private int type = -1;
	private boolean canView;
	private boolean canPrint;
	private boolean canDownload;
	private List<Integer> departIdList;
	private List<Integer> userIdList;
	
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public boolean isCanView() {
		return canView;
	}
	public void setCanView(boolean canView) {
		this.canView = canView;
	}
	public boolean isCanPrint() {
		return canPrint;
	}
	public void setCanPrint(boolean canPrint) {
		this.canPrint = canPrint;
	}
	public boolean isCanDownload() {
		return canDownload;
	}
	public void setCanDownload(boolean canDownload) {
		this.canDownload = canDownload;
	}
	public List<Integer> getDepartIdList() {
		return departIdList;
	}
	public void setDepartIdList(List<Integer> departIdList) {
		this.departIdList = departIdList;
	}
	public List<Integer> getUserIdList() {
		return userIdList;
	}
	public void setUserIdList(List<Integer> userIdList) {
		this.userIdList = userIdList;
	}
	
	public boolean getIsAll(){
		return type == 0;
	}
	
}
